<?php

use Illuminate\Routing\Router;


Route::group([
    'prefix'        => 'admin/extend',
    'namespace'     => 'Beerus\\Modules\\Extend\\Controllers',
    'middleware'    => ['web', 'admin'],
], function (Router $router) {
    $router->get('/category/list','CategoryController@select');
    $router->get('/category/child','CategoryController@getChildCategory');

    $router->get('/area/get/{pid?}', 'AreaController@get');
    $router->get('/tag/alllist', 'TagController@allList');
    $router->post('/img/upload', 'ImgController@upload');
    $router->post('/img/uploadtosso', 'ImgController@uploadToSso');
    $router->post('/img/uploadtossoori', 'ImgController@uploadToSsoOri');
    $router->post('/img/imgdelete', 'ImgController@imgDelete');
});